Skip to content

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Mar 25, 2025

No description provided.

switch (dict_type) {
case PHP_ENCHANT_MYSPELL:
enchant_broker_set_param(pbroker->pbroker, "enchant.myspell.dictionary.path", (const char *)value);
enchant_broker_set_param(pbroker->pbroker, "enchant.myspell.dictionary.path", value);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good, just this call expects a const char * but the compiler should not complain in this case.

@Girgias Girgias merged commit e184536 into php:master Mar 25, 2025
9 checks passed
@Girgias Girgias deleted the enchant-useless-char-cast branch March 25, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants